Nested message structures

For DMP delivery, a PushNotifications message can contain nested parent and child message elements. You can place JSTL templates at the required locations in the message hierarchy. DMP preserves the configured hierarchy and renders each template at its configured parent or child location in the generated payload.

Nested message structures are supported for:

  • Regular event notifications

  • Transaction-failure notifications

For example, a message can contain a header and nested business sections:

The generated message payload retains the configured parent-child structure, template content, and applicable XML namespaces.

Configuring Reusable Message Templates

Define reusable content under <Templates>/<Template ID="...">/<JSTLMessage>.
<Templates>
<Template ID="EFTBody">
<JSTLMessage>
<!-- reusable message content -->
</JSTLMessage>
</Template>
</Templates>
Reference the template at the required business-element location using <JSTLTemplate>template-id</JSTLTemplate>.
<EFT>
<JSTLTemplate>EFTBody</JSTLTemplate>
</EFT>

Message construction is independent of the configured delivery protocol.

For information about Configuring Reusable Message Templates, see Nested Message Structures.